package com.sunwayworld.core.validation;

import org.apache.struts2.interceptor.validation.SkipValidation;

import com.sunwayworld.common.struts2.BaseAction;

public class ValidationAction extends BaseAction {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String reqiuredString;

	public String getReqiuredString() {
		return reqiuredString;
	}

	public void setReqiuredString(String reqiuredString) {
		this.reqiuredString = reqiuredString;
	}

	@Override
	@SkipValidation
	public String execute() {
		return SUCCESS;
	}

	public String save() {
		System.out.println("save");
		return "save";
	}
}